﻿using KAsFrame.Common.Const;
using KAsFrame.Common.Dto;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KAsFrame.Domain.Certificate.Entities
{
    [SugarTable("app_template")]
    public class Template: SnowflakeIdEntity
    {
        public long Uid { get; set; }
        [SugarColumn(ColumnDataType = ConstConfig.VARCHAR16)]
        public string TempName { get; set; }
        [SugarColumn(ColumnDataType = ConstConfig.VARCHAR16)]
        public string Title { get; set; }
        [SugarColumn(ColumnDataType = ConstConfig.MEDIUMTEXT)]
        public string ImgBase64 { get; set; }
        [SugarColumn(ColumnDataType = ConstConfig.TEXT)]
        public string Labels { get; set; }
        [SugarColumn(ColumnDataType = ConstConfig.VARCHAR32)]
        public string BackgroundColor { get; set; }
        [SugarColumn(IsNullable = true)]
        public DateTime? CreateTime { get; set; }
        [SugarColumn(IsNullable = true)]
        public DateTime? UpdateTime { get; set; }
    }
}
